<?php  //Database link
$link=mysql_connect("localhost","meixuejia","mxj123") or die("could not connect to databale2");
mysql_select_db("meixuejia",$link);
function clearup_text($value="",$preserve="",$allowed_tags="")
{
	if(empty($preserve))
	{
		$value=strip_tags($value,$allowed_tags);
	}
	$value=htmlspecialchars($value);
	return $value;
}
?>